package com.one.group.model.entity;


import java.io.Serializable;
import java.util.Date;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
* 房屋表
* @TableName sp_house
*/
@Data
@Table(value ="sp_house")
public class SpHouse implements Serializable {

    /**
    * 房屋id
    */
    @Id(keyType = KeyType.Auto)
    private Long id;
    /**
    * 房屋编号
    */
    private Integer number;
    /**
    * 房屋单元id
    */
    private Long unitId;
    /**
    * 房屋楼层id
    */
    private Long floorId;
    /**
     * 房屋出租人员id
     */
    private Long renterId;
    /**
    * 房屋朝向
    */
    private String orientation;
    /**
    * 建筑面积
    */
    private String floorSpace;
    /**
    * 套内面积
    */
    private String insideSpace;
    /**
    * 公摊面积
    */
    private String sharedSpace;
    /**
    * 室
    */
    private Integer room;
    /**
    * 厅
    */
    private Integer hall;
    /**
    * 卫
    */
    private Integer toilet;
    /**
    * 更新时间
    */
    private Date updateTime;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
     * 业主id
     */
    private Long ownerId;

    /**
     * 租户id
     */
    @Column(tenantId = true)
    private Long tenantId;


}
